Subtract operator

Basic and Crystal syntax.

Usage

x-y

Subtracts value y from value x.

Examples

The following examples are applicable to both Basic and Crystal syntax:

244 - 112

Returns 132.

{file.SALES} - {file.COGS} - {file.S&A} = 214,972

Returns 132, where {file.SALES} = 455,031, {file.COGS} = 188,213, and {file.S&A} = 51846.

{file.ONHAND} - 877 = 114

Returns 114, where {file.ONHAND} = 991.

CDate (1991, 04, 15) - 12 = Apr 03 91

Returns Apr 03 91.

Related topics

Formula 1

Formula 2

Formula 4

Formula 5

Formula 7

Formula 12



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com